inspector: Deal with dying objects
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 May 2014 02:58:43 +0000 (22:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 May 2014 02:04:28 +0000 (22:04 -0400)
commit700657ad19f4444ed6a2f3f66ad54afc1dac3a29
tree651e3b656ffbf989ad310d426c80154d752a4015
parent0dbfef5696db760f7840202a7453bec441fe379d
inspector: Deal with dying objects

The widget-tree was not safe against object just going away.
Fix this by using row references instead of iters where
necessary, and by using weak refs to clean up when objects
die.
modules/inspector/classes-list.c
modules/inspector/classes-list.ui
modules/inspector/css-editor.c
modules/inspector/css-editor.h
modules/inspector/prop-list.c
modules/inspector/widget-tree.c